<template>
  <footer class="footerbar">
    <p class="footerbar-desc">押一付一，轻松月付</p>
    <a class="footerbar-action" href="javascript:;">申请分期</a>
  </footer>
</template>

<script>
  export default {
    name: 'footerbar'
  }
</script>

<style lang="less" scoped>
  .footerbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    height: 50px;
    line-height: 50px;
    background: rgba(255,255,255,0.65);
    z-index: 500;
    text-align: center;
  }

  .footerbar-desc {
    flex: 1;
    font-size: 20px;
    color: #333;
  }

  .footerbar-action {
    position: relative;
    padding: 0 24px;
    color: #ff624c;
    font-size: 16px;
    &:active {
      background-color: #ececec;
    }

    &::before {
      position: absolute;
      content: " ";
      display: block;
      width: 1px;
      height: 30px;
      border-left: 1px solid #d9d9d9;
      top: 50%;
      left: 0;
      transform: translate(-50%, -50%) scaleX(.5);
    }
  }
</style>
